Platform Explorer / Nuxeo Platform 2021.62

Operation Comment.Moderate (Follow publish or reject transition)

Description

Follow publish if accept is true, reject otherwise.
Operation id Comment.Moderate
Category Document
Label Follow publish or reject transition
Requires
Since

Parameters

Name Description Type Required Default value
accept boolean yes  

Signature

Inputs document, documents
Outputs document, documents

Implementation Information

Implementation Class Class: org.nuxeo.ecm.platform.comment.workflow.ModerateCommentOperation
Contributing Component org.nuxeo.ecm.platform.comment.workflow.operation.contrib

JSON Definition

{
  "id" : "Comment.Moderate",
  "label" : "Follow publish or reject transition",
  "category" : "Document",
  "requires" : null,
  "description" : "Follow publish if accept is true, reject otherwise.",
  "url" : "Comment.Moderate",
  "signature" : [ "document", "document", "documents", "documents" ],
  "params" : [ {
    "name" : "accept",
    "description" : null,
    "type" : "boolean",
    "required" : true,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  } ]
}